package animix.blue.server.common.bean.tool;

import animix.blue.server.common.bean.model.User;

import java.io.Serializable;

public class UserInfo implements Serializable {

    private String token;

    private User user;

    private Integer[] right;

    public UserInfo() {
        super();
    }

    public UserInfo(String token, User user, Integer[] right) {
        this.token = token;
        this.user = user;
        this.right = right;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Integer[] getRight() {
        return right;
    }

    public void setRight(Integer[] right) {
        this.right = right;
    }
}
